package net.thxjj.adminServer.service;

import java.util.HashMap;
import java.util.List;

import net.thxjj.sitermodel.Product;
import net.thxjj.sitermodel.PushRule;
import org.springframework.stereotype.Component;

import net.thxjj.adminServer.util.ParameterMap;

@Component
public interface IProductService {

		public List<Product> getProductList(String pid);
		public HashMap<String, Object> del(String prod_key);
	    public Product getProduct(String prod_key);
		public Long getNumOfDevices(String prod_key);
	    public Long getNumOfOnlineDevices(String prod_key);
	    public List<List<Object>> getDeviceRends(String prodKey,long start_time,long end_time);
	    public HashMap<String, Object> updateSetting(ParameterMap parameterMap);
	    public List<PushRule> getAllPushRuleByProdKey(String prod_key);
	    public HashMap<String,Object> enablePushRule(long enable,long id);
}
